package com.jrx.anytxn.transaction.dto.loanRelationInfo;

import com.jrx.anytxn.transaction.dto.common.CommonReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 贷款利率查询req
 *
 * @author : zhenghaopu
 * 2019/11/21
 */
@ApiModel(value = "贷款利率查询请求实体", description = "贷款利率查询请求实体")
public class LoanRateQueryReq extends CommonReq {

    /**
     * 产品id
     */
    @ApiModelProperty(value = "产品id",required = true)
    @NotBlank(message="产品编号不可为空")
    @Size(max=32, message = "产品编号不能超过32位")
    private String productId;

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }
}
